package com.dhnsoft.boot3.starter;

import com.dhnsoft.boot3.starter.robot.controller.RobotController;
import com.dhnsoft.boot3.starter.robot.properties.RobotProperties;
import com.dhnsoft.boot3.starter.robot.service.RobotService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author dhn
 * @version 1.0
 * @date 2023-09-10 20:27
 * @Desc
 */
@Import({RobotService.class, RobotProperties.class})
//@Import({RobotController.class, RobotService.class, RobotProperties.class})
@Configuration
public class RobotAutoConfiguration {

    @Bean
    public RobotController robotController(){
        return new RobotController();
    }
}
